package com.monster.threadunsafe;

/**
 * description:
 * 以下类的value值由于未采取任何同步措施，所以是线程不安全的
 * @author Yuanml on 2021/4/3 19:37
 */
public class ThreadNotSafeInteger {
    private Integer value;

    public Integer get() {
        return value;
    }

    public void set(Integer value) {
        this.value = value;
    }
}
